<template>
  <global-template>
    <template>
      <el-aside width="200px">
        <left-menu :menu-data="leftMenu"></left-menu>
      </el-aside>
      <el-main>
        <router-view/>
      </el-main>
    </template>
  </global-template>
</template>

<script>
import leftMenu from '@/components/left-menu'

/**
 *{ 运维中心 }
 * @param:
 * @author: 宋康
 * @DateTime: 2022/7/1
 */
export default {
  name: "index",
  components: {
    leftMenu
  },
  data() {
    return {
      leftMenu: [
        {
          "mid": "#",
          "mlid": "#",
          "mname": "用户管理",
          "route": "#",
          "query": {},
          "child": [
            {
              "mid": "7_1",
              "mlid": "7_1_1",
              "mname": "用户管理",
              "route": "/operations/user",
              "query": {}
            }, {
              "mid": "7_1",
              "mlid": "7_1_2",
              "mname": "角色管理",
              "route": "/operations/role",
              "query": {}
            }, {
              "mid": "7_1",
              "mlid": "7_1_3",
              "mname": "权限管理",
              "route": "/operations/power",
              "query": {}
            }, {
              "mid": "7_1",
              "mlid": "7_1_4",
              "mname": "组织管理",
              "route": "/operations/organ",
              "query": {}
            }
          ]
        },
        // {
        //   "mid": "7_2",
        //   "mlid": "7_2_1",
        //   "mname": "新闻资讯管理",
        //   "route": "/operations/newsManage",
        //   "query": {},
        //   "child": []
        // },
        // {
        //   "mid": "7_8",
        //   "mlid": "7_8_1",
        //   "mname": "系统监测",
        //   "route": "/operations/Monitoring",
        //   "query": {},
        //   "child": []
        // },
        {
          "mid": "7_3",
          "mlid": "7_3_1",
          "mname": "开发包管理",
          "route": "/operations/package",
          "query": {},
          "child": []
        },
        {
          "mid": "7_4",
          "mlid": "7_4_1",
          "mname": "操作日志",
          "route": "/operations/operlog",
          "query": {},
          "child": []
        },
        {
          "mid": "7_5",
          "mlid": "7_5_1",
          "mname": "地理信息服务监控",
          "route": "/operations/syslog",
          "query": {},
          "child": []
        },
        {
          "mid": "7_6",
          "mlid": "7_6_1",
          "mname": "数据备份",
          "route": "/operations/backups",
          "query": {},
          "child": []
        },
        {
          "mid": "7_7",
          "mlid": "7_7_1",
          "mname": "数据恢复",
          "route": "/operations/recovery",
          "query": {},
          "child": []
        }
      ]
    }
  }
}
</script>
